package com.zhuangjie.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuangjie.order.entity.DeliveryInfo;
import com.zhuangjie.order.pojo.DeliveryInfoForRider;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhuangjie
 * @since 2023-11-24
 */

public interface DeliveryInfoMapper extends BaseMapper<DeliveryInfo> {

    DeliveryInfoForRider selectDeliveryInfoForOrderWithShop(@Param("shopId") Long shopId, @Param("orderId") Long orderId, @Param("orderState") int orderState, @Param("receivingMethodOfDelivery") String receivingMethodOfDelivery);

}
